from setuptools import find_packages, setup

package_name = 'zorci'

setup(
    name=package_name,
    version='0.0.0',
    packages=find_packages(exclude=['test']),
    data_files=[
        ('share/ament_index/resource_index/packages',
            ['resource/' + package_name]),
        ('share/' + package_name, ['package.xml']),
        # 这里将数据文件安装到 share/zorci/data 目录
        ('share/zorci/data', ['data/follow_trajectory_template.txt']),
    ],
    install_requires=['setuptools', 'rosidl_runtime_py', 'zoros'],
    zip_safe=True,
    maintainer='host',
    maintainer_email='zengyh@engineai.com.cn',
    description='TODO: Package description',
    license='TODO: License declaration',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'move_joint_cmd = zorci.move_joint_cmd:main',
            'move_line_cmd = zorci.move_line_cmd:main',
            'move_nullspace_cmd = zorci.move_nullspace_cmd:main',
            'move_pose_cmd = zorci.move_pose_cmd:main',
            'follow_traj_cmd = zorci.follow_traj_cmd:main',
            'demo_pick_place = zorci.demo_pick_place:main',
            'move_joint_piano = zorci.move_joint_piano:main',
            'set_joint_planner_properties = zorci.set_joint_planner_properties:main',
            'set_cartesian_planner_properties = zorci.set_cartesian_planner_properties:main',
            'set_nullspace_planner_properties = zorci.set_nullspace_planner_properties:main',
            'move_joint_waypoint_cmd = zorci.move_joint_waypoint_cmd:main',
            'move_pose_waypoint_cmd = zorci.move_pose_waypoint_cmd:main',
            'move_line_waypoint_cmd = zorci.move_line_waypoint_cmd:main',
            'move_nullspace_waypoint_cmd = zorci.move_nullspace_waypoint_cmd:main',
        ],
    },
)
